package c.h.a;

import android.content.DialogInterface;
import android.content.DialogInterface.OnShowListener;
import android.text.method.LinkMovementMethod;
import android.widget.Button;
import android.widget.TextView;
import b.b.c.f;
import b.i.c.a;
import com.liuzh.deviceinfo.SplashActivity;
import java.util.Objects;

/* compiled from: lambda */
public final /* synthetic */ class k implements OnShowListener {
    public final /* synthetic */ SplashActivity a;
    public final /* synthetic */ f b;

    public /* synthetic */ k(SplashActivity splashActivity, f fVar) {
        this.a = splashActivity;
        this.b = fVar;
    }

    public final void onShow(DialogInterface dialogInterface) {
        SplashActivity splashActivity = this.a;
        f fVar = this.b;
        Objects.requireNonNull(splashActivity);
        Button c = fVar.c(-1);
        Button c2 = fVar.c(-2);
        int b = a.b(splashActivity, 2131099707);
        if (c != null) {
            c.setTextColor(b);
        }
        if (c2 != null) {
            c2.setTextColor(b);
        }
        TextView textView = (TextView) fVar.findViewById(16908299);
        if (textView != null) {
            textView.setMovementMethod(LinkMovementMethod.getInstance());
        }
    }
}
